/**
 * @author CH_ywx
 * @date 2023-06-08
 * @description
 */
public class TestRunnable {
    public static void main(String[] args) {
        Runnable1 runnable1 = new Runnable1();//任务1
        Thread thread = new Thread(runnable1);
        Runnable2 runnable2 = new Runnable2();//任务2
        Thread thread1 = new Thread(runnable2);
        thread.start();
        thread1.start();
    }
}
